-- GENERATED SPELL FOR [Blackrock Renegade] --


function spell0_437(pUnit, Event) --@Frenzy,Self--
pUnit:FullCastSpellOnTarget(3019,pUnit)
pUnit:RegisterEvent('Sorts_437', 15000, 1)
end

function spell1_437(pUnit, Event) --@Shield Slam,n/a--
pUnit:FullCastSpellOnTarget(8242,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_437', 2331, 1)
end

function Sorts_437(pUnit, Event)
local choix_sorts_437 = math.random(0, 1)
if choix_sorts_437 == 0 then
pUnit:RegisterEvent('spell0_437', 1, 1)
end
if choix_sorts_437 == 1 then
pUnit:RegisterEvent('spell1_437', 1, 1)
end
end

function mob437_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_437', math.random(1500, 3000), 1)
end

function mob437_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob437_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob437_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(437, 1, 'mob437_Action')
RegisterUnitEvent(437, 2, 'mob437_Leave')
RegisterUnitEvent(437, 3, 'mob437_Kill')
RegisterUnitEvent(437, 4, 'mob437_Die')
